package com.yuyou.tas.report.service.impl;

import com.yuyou.tas.report.mapper.ExamModelReportQuesMapper;
import com.yuyou.tas.report.service.IExamModelReportQuesService;
import com.yuyou.tas.service.api.report.entity.ExamModelReportQues;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ExamModelReportQuesServiceImpl implements IExamModelReportQuesService{

	@Autowired
	private ExamModelReportQuesMapper examModelReportQuesMapper;
	
	@Override
	public int deleteByPrimaryKey(Long id) {
		// TODO Auto-generated method stub
		return examModelReportQuesMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(ExamModelReportQues record) {
		// TODO Auto-generated method stub
		return examModelReportQuesMapper.insert(record);
	}

	@Override
	public ExamModelReportQues selectByPrimaryKey(Long id) {
		// TODO Auto-generated method stub
		return examModelReportQuesMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(ExamModelReportQues record) {
		// TODO Auto-generated method stub
		return examModelReportQuesMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public void deleteByStudentExamClass(Long stuId, Long examId,
			Long lessonClassId) {
		examModelReportQuesMapper.deleteByStudentExamClass(stuId, examId, lessonClassId);
		
	}


}